from selenium.webdriver.common.by import By

from Base.BasePage import BasePage


class PersonOnline(BasePage):
    def __init__(self, driver):
        super().__init__(driver)
        self.driver = driver
        self.licai=(By.XPATH,'//*[@id="ng-app"]/body/div[1]/div/div[2]/div/ul/li[3]/a')
        self.person=(By.XPATH,'//*[@id="ng-app"]/body/div[1]/div/div[2]/div/ul/li[3]/ul/li[1]/a')
        self.nowBrw=(By.XPATH,'//*[@id="ng-app"]/body/div[2]/div/ul/li[1]/dl/dd[5]/a')
        self.title=(By.XPATH,'//*[@id="borrowPublish"]/div[3]/input')
        self.use=(By.XPATH,'//*[@id="borrowPublish"]/div[4]/select')
        self.brw_money=(By.XPATH,'//*[@id="borrowPublish"]/div[5]/input')
        self.par=(By.XPATH,'//*[@id="borrowPublish"]/div[6]/input')
        self.month=(By.XPATH,'//*[@id="borrowPublish"]/div[7]/span/label[1]')
        self.day=(By.XPATH,'//*[@id="borrowPublish"]/div[7]/span/label[2]')
        self.fangfa=(By.XPATH,'//*[@id="borrowPublish"]/div[8]/select')


    def person_online(self):
        pass